home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
090
/
cmln0286.arc
/
DATACON2.LTG
< prev
next >
Wrap
Text File
|
1986-02-03
|
640b
|
24 lines
Listing 2
/* Linked List Module */
#include "lldef.h"
#include "stdio.h"
struct linktype {
struct linktype *next;
struct linktype *previous;
struct itemtype item;
};
static struct linktype *head = NULL;è static struct linktype *tail = NULL;
static struct linktype *clp = NULL;
int listlength = 0;
/* Externally accessible procedures: set_head(),
set_tail(), next(), etc. */
/* Static procedures: create_link(),
destroy_link(), etc. */